import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { ViewChild } from '@angular/core';
import { Slides } from 'ionic-angular';
import { MiaoImgItemComponent } from '../../components/miao-img-item/miao-img-item'
@Component({
  selector: 'page-home',
  templateUrl: 'home.html'
})
export class HomePage {
  constructor(public navCtrl: NavController) {
  }
  

  @ViewChild(Slides) slides: Slides;
  
  goToSlide() {
    this.slides.slideTo(2, 500);
  }
}
